/*
 * @Author: 蔡小霞
 * @Date: 2021-10-29 16:45:36
 * @LastEditTime: 2021-10-30 14:29:15
 * @LastEditors: 蔡小霞
 * @Descripttion: 
 */
  var laytpl = layui.laytpl;

  /**
  * 获取数据
  */
  namespace = '/pageB';
  var socketList = io.connect(location.protocol + '//' + document.domain + ':' + location.port + namespace);
  socketList.on('pageB', function(data, ackServerCallback, arg1) {
    //获取会议内容
    cmcSocket.renderMeetingContent(data)
  })
  var appDetails = {
    // 初始化调用的方法
    init: function () {
      socketList.emit('pageB')
    },
    renderMeetingContent: function () {
      var getTpl = meetingContentJs.innerHTML, gerView = document.getElementById('meetingContent');
      laytpl(getTpl).render(mockData, function (html) {
        gerView.innerHTML = html;
      });
    },
  };
  appDetails.init();